STEP 11: Now let's display our total.

  • From , drag another Variable Display to the bottom of your program.
  • Change the display name to total_score.
  • Change the variable parameter to total_roll.
  • Change the x parameter to 0, and change the y parameter to -100.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)